﻿using Caching;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedisService
{
  public static  class RedisCacheKeys
    {
        public static CacheBaseItem StudentJson(Guid corporationId, string employeeNumber)
        {
            return new CollaborationCacheItem(corporationId, CacheBaseItem.Format("StudentJson_{0}", employeeNumber), 10);
        }
        public static CacheBaseItem StudentsJson(Guid corporationId, int dbindex,int i)
        {
            return new CollaborationCacheItem(corporationId, dbindex, CacheBaseItem.Format("{0}_StudentsJson_{1}",dbindex,i), 60);
        }

    }
}
